package com.example.signsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.signsystem.entity.dto.QuestionDTO;
import com.example.signsystem.entity.dto.QuestionUnderstandDTO;
import com.example.signsystem.entity.parm.QuestionParam;
import com.example.signsystem.entity.parm.QuestionUnderstandParam;
import com.example.signsystem.entity.po.QuestionPO;
import com.example.signsystem.entity.po.QuestionUnderstandPO;
import com.example.signsystem.entity.po.StudentsPO;
import com.qcby.framework.common.pojo.PageParam;
import com.qcby.framework.common.pojo.PageResult;

import java.util.List;

public interface IQuestionService extends IService<QuestionPO> {
    /**
     * 问题发布接口
     * @return
     */
    Boolean questionPosting(QuestionParam questionParam);


    /**
     * 问题查看接口
     * @return
     */
    PageResult<QuestionPO> checkQuestion(PageParam pageParam);

    /**
     * 回答问题接口
     * @param questionUnderstandParam
     * @return
     */
    Boolean questionAnswer(QuestionUnderstandParam questionUnderstandParam);

    /**
     * 查看学生是否听懂
     * @return
     */
    QuestionUnderstandDTO questionUnderstand(Long questionId);
}
